package cn.org.timespace.easyframe.service.permission.impl;

import java.util.List;

import cn.org.timespace.easyframe.dao.permission.EfOrgDAO;
import cn.org.timespace.easyframe.model.permission.EfOrg;
import cn.org.timespace.easyframe.service.permission.EfOrgService;

public class EfOrgServiceImpl implements EfOrgService {
	private EfOrgDAO efOrgDao;

	public EfOrgDAO getEfOrgDao() {
		return efOrgDao;
	}

	public void setEfOrgDao(EfOrgDAO efOrgDao) {
		this.efOrgDao = efOrgDao;
	}

	public List<EfOrg> findAll() {
		return efOrgDao.findAll();
	} 

	public void save(EfOrg transientInstance) {
		efOrgDao.save(transientInstance);
	}

	public void update(EfOrg instance) {
		efOrgDao.update(instance);
	}

	public void delete(EfOrg persistentInstance) {
		
	}

	public EfOrg findById(String id) {
		return efOrgDao.findById(id);
	}
}
